package com.scuvc.entity;

import java.util.Date;

public class RecordInfo {
    private Long id ;
    private UserInfo userInfo ;
    private CarInfo carInfo ;
    private Date rent_date ;
    private Date return_date ;
    private Long price ;
    private Long rent_amount ;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public CarInfo getCarInfo() {
        return carInfo;
    }

    public void setCarInfo(CarInfo carInfo) {
        this.carInfo = carInfo;
    }

    public Date getRent_date() {
        return rent_date;
    }

    public void setRent_date(Date rent_date) {
        this.rent_date = rent_date;
    }

    public Date getReturn_date() {
        return return_date;
    }

    public void setReturn_date(Date return_date) {
        this.return_date = return_date;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Long getRent_amount() {
        return rent_amount;
    }

    public void setRent_amount(Long rent_amount) {
        this.rent_amount = rent_amount;
    }

    @Override
    public String toString() {
        return "RecordInfo{" +
                "id=" + id +
                ", userInfo=" + userInfo +
                ", carInfo=" + carInfo +
                ", rent_date=" + rent_date +
                ", return_date=" + return_date +
                ", price=" + price +
                ", rent_amount=" + rent_amount +
                '}';
    }
}
